package com.geostar.constructionland.attachment.entity;

import java.io.Serializable;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

@Document(collection = "GeoFile.folder")
public class FolderObject implements Serializable{

    private static final long serialVersionUID = 319990489551338309L;

    @Id
    private BaseKey id;
    
    private Folder value;
    
    public FolderObject() {
        super();
    }

    public FolderObject(BaseKey id, Folder value) {
        super();
        this.id = id;
        this.value = value;
    }

    public BaseKey getId() {
        return id;
    }
    
    public void setId(BaseKey id) {
        this.id = id;
    }
    
    public Folder getValue() {
        return value;
    }
    
    public void setValue(Folder value) {
        this.value = value;
    }
    
    @Override
    public String toString() {
        return "FolderObject [id=" + id + ", value=" + value + "]";
    }
    
}
